import Vue from 'vue';
import VueRouter from 'vue-router';

import Index from '../views/Index';
// import HelloWorld from 'HelloWorld';
// import Test from 'Test';

Vue.use(VueRouter);

export default new VueRouter({
    mode: 'history',
    base: process.env.BASE.SYSTEM_NAME,
    routes: [
        {
            path: '/Index',
            name: 'Index',
            component: Index,
            meta: {
                title: 'Index'
            }
        },
        {
            path: '/',
            redirect: '/Index'
        }
        /* ,
        {
            path: '/test',
            name: 'Test',
            component: Test,
            meta: {
                title: 'Test'
            }
        }, */
    ]
});
